package springCloud.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @author 洛秋y
 * @date 2020/11/11 9:41
 */
@Configuration
public class OrderConfig {

    @Bean
    public RestTemplate getRestTemplate() {

        return new RestTemplate();
    }
}
